﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001267 RID: 4711
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SubmitOfferingItemScRsp : IMessage<SubmitOfferingItemScRsp>, IMessage, IEquatable<SubmitOfferingItemScRsp>, IDeepCloneable<SubmitOfferingItemScRsp>, IBufferMessage
	{
		// Token: 0x17003BBF RID: 15295
		// (get) Token: 0x0600D354 RID: 54100 RVA: 0x002394D5 File Offset: 0x002376D5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SubmitOfferingItemScRsp> Parser
		{
			get
			{
				return SubmitOfferingItemScRsp._parser;
			}
		}

		// Token: 0x17003BC0 RID: 15296
		// (get) Token: 0x0600D355 RID: 54101 RVA: 0x002394DC File Offset: 0x002376DC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SubmitOfferingItemScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003BC1 RID: 15297
		// (get) Token: 0x0600D356 RID: 54102 RVA: 0x002394EE File Offset: 0x002376EE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SubmitOfferingItemScRsp.Descriptor;
			}
		}

		// Token: 0x0600D357 RID: 54103 RVA: 0x002394F5 File Offset: 0x002376F5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SubmitOfferingItemScRsp()
		{
		}

		// Token: 0x0600D358 RID: 54104 RVA: 0x00239500 File Offset: 0x00237700
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SubmitOfferingItemScRsp(SubmitOfferingItemScRsp other) : this()
		{
			this.aKEGHCPLJAC_ = ((other.aKEGHCPLJAC_ != null) ? other.aKEGHCPLJAC_.Clone() : null);
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600D359 RID: 54105 RVA: 0x0023954C File Offset: 0x0023774C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SubmitOfferingItemScRsp Clone()
		{
			return new SubmitOfferingItemScRsp(this);
		}

		// Token: 0x17003BC2 RID: 15298
		// (get) Token: 0x0600D35A RID: 54106 RVA: 0x00239554 File Offset: 0x00237754
		// (set) Token: 0x0600D35B RID: 54107 RVA: 0x0023955C File Offset: 0x0023775C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public OJOBBCKLNFK AKEGHCPLJAC
		{
			get
			{
				return this.aKEGHCPLJAC_;
			}
			set
			{
				this.aKEGHCPLJAC_ = value;
			}
		}

		// Token: 0x17003BC3 RID: 15299
		// (get) Token: 0x0600D35C RID: 54108 RVA: 0x00239565 File Offset: 0x00237765
		// (set) Token: 0x0600D35D RID: 54109 RVA: 0x0023956D File Offset: 0x0023776D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x0600D35E RID: 54110 RVA: 0x00239576 File Offset: 0x00237776
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SubmitOfferingItemScRsp);
		}

		// Token: 0x0600D35F RID: 54111 RVA: 0x00239584 File Offset: 0x00237784
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SubmitOfferingItemScRsp other)
		{
			return other != null && (other == this || (object.Equals(this.AKEGHCPLJAC, other.AKEGHCPLJAC) && this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600D360 RID: 54112 RVA: 0x002395D4 File Offset: 0x002377D4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.aKEGHCPLJAC_ != null)
			{
				num ^= this.AKEGHCPLJAC.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600D361 RID: 54113 RVA: 0x00239629 File Offset: 0x00237829
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600D362 RID: 54114 RVA: 0x00239631 File Offset: 0x00237831
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600D363 RID: 54115 RVA: 0x0023963C File Offset: 0x0023783C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.aKEGHCPLJAC_ != null)
			{
				output.WriteRawTag(50);
				output.WriteMessage(this.AKEGHCPLJAC);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(120);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600D364 RID: 54116 RVA: 0x00239698 File Offset: 0x00237898
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.aKEGHCPLJAC_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.AKEGHCPLJAC);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600D365 RID: 54117 RVA: 0x002396F0 File Offset: 0x002378F0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SubmitOfferingItemScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.aKEGHCPLJAC_ != null)
			{
				if (this.aKEGHCPLJAC_ == null)
				{
					this.AKEGHCPLJAC = new OJOBBCKLNFK();
				}
				this.AKEGHCPLJAC.MergeFrom(other.AKEGHCPLJAC);
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600D366 RID: 54118 RVA: 0x00239758 File Offset: 0x00237958
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600D367 RID: 54119 RVA: 0x00239764 File Offset: 0x00237964
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 50U)
				{
					if (num != 120U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					if (this.aKEGHCPLJAC_ == null)
					{
						this.AKEGHCPLJAC = new OJOBBCKLNFK();
					}
					input.ReadMessage(this.AKEGHCPLJAC);
				}
			}
		}

		// Token: 0x040054AA RID: 21674
		private static readonly MessageParser<SubmitOfferingItemScRsp> _parser = new MessageParser<SubmitOfferingItemScRsp>(() => new SubmitOfferingItemScRsp());

		// Token: 0x040054AB RID: 21675
		private UnknownFieldSet _unknownFields;

		// Token: 0x040054AC RID: 21676
		public const int AKEGHCPLJACFieldNumber = 6;

		// Token: 0x040054AD RID: 21677
		private OJOBBCKLNFK aKEGHCPLJAC_;

		// Token: 0x040054AE RID: 21678
		public const int RetcodeFieldNumber = 15;

		// Token: 0x040054AF RID: 21679
		private uint retcode_;
	}
}
